package cn.tiancaifan.micro.mapper;


import cn.tiancaifan.micro.entity.Position;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface PositionMapper {

    @Select("select * from position")
    List<Position> getAllPositions();

    int addPosition(Position position);

    int updataPosition(Position position);

    int deletePositionById(Integer id);

    int deletePositionsByIds(Integer[] ids);
}
